<h2 class="sub-header" style="text-align: center;">Import History <br> <?php echo $StartDate . ' to ' . $EndDate; ?></h2>
  <div class="table-responsive">
    <table class="table table-striped">
      <thead>
        <tr>
          <th>Tgl. Import</th>
          <th>Processed Records</th>
          <th>Status</th>
          <th>Archive File Name</th>
          <th>Description</th>
        </tr>
      </thead>
      <tbody>
        <?php 
        if($reportData != '') {
            foreach($reportData as $obj) { ?>
        <tr>
          <td><?php echo $obj['TglImport']; ?></td>
          <td><?php echo $obj['ProcessedRecords']; ?></td>
          <td><?php echo $obj['Status']; ?></td>
          <td><?php echo $obj['ArchiveFileName']; ?></td>
          <td>
              <div class="accordion">
                <h3>View Detail</h3>
                <div>
                    <p><?php echo $obj['Description']; ?></p>
                </div>
              </div>
          </td>
        </tr>
        <?php 
            }
        }
        ?>
      </tbody>
    </table>
  </div>
  <div><?php echo $errormsg; ?></div>
    